Release 10.1A: OpenEdge Development:
Web Services


Running a procedure that passes a TABLE-HANDLE parameter

This example shows how you might invoke a method that takes a TABLE-HANDLE parameter, by calling the sample method, dynTT( ):

import DynTTSrvc.*; 
import DynTTSrvc.DynTT.*; 
import DynTTSrvc.DynTT.holders.*; 
import org.apache.axis.message.MessageElement; 
import org.w3c.dom.Element; 
... 
// Prepare the Schema and Data for the Input TABLE-HANDLE Parameter 
// Create the XML Schema and data for the dynamic TEMP-TABLE. 
// Then create the TableHandleParam object, ttHandle 
... 
// Create the holder for the INPUT-OUTPUT TableHandleParam parameter, ttHandle 
TableHandleParamHolder ttHolder = new TableHandleParamHolder( ); 
ttHolder.value = ttHandle;     
// Call DynTT.p, passing the Input-Output TABLE-HANDLE 
dynTTObj.dynTT(ttHolder); 
// Process the schema and data for the Output TABLE-HANDLE 
... 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095